/* 放index页面css */
/* banner */
.banner {
  height: 500px;
  background-color: #f5f5f5;

}

.banner .wrapper {
  position: relative;
  height: 500px;
  background-image: url(../uploads/banner_1.png);
}

/* 侧导航 */
.banner .aside {
  position: absolute;
  left: 0;
  top: 0;
  width: 250px;
  height: 500px;
  background-color: rgba(0,0,0,0.8);
}

.banner .aside li {
  height: 50px;
  line-height: 50px;
}

.banner .aside a {
  /* 宽和父元素一样 */
  position: relative;
  display: block; 
  padding-right: 19px;
  padding-left: 35px;
  height: 50px;
  color: #fff;
}

.banner .aside a span {
  padding-left: 15px;
  font-size: 14px;

}

.banner .aside a:hover {
  background-color: #27ba9b;
}

/* 在啊的里面最后加个小箭头 */
.banner .aside a::after {
  position: absolute;
  right: 19px;
  top: 20px;
  content: '';
  width: 6px;
  height: 11px;
  background-image: url(../images/sprites.png);
  background-position: -80px -110px;

}

/* 箭头区域 */
.prev, 
.next {
  position: absolute;
  top: 228px;
  width: 45px;
  height: 45px;
  background-color: rgba(0,0,0,0.2);
  border-radius: 50%;
  background-image: url(../images/sprites.png);
}

/* 精灵图测量不准确 可以使用浏览器调试 */
.prev {
  left: 260px;
  background-position: 14px -60px;
}

.next {
  right: 10px;
  background-position: -22px -60px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.banner ol {
  position: absolute;
  left: 680px;
  bottom: 30px;
}

.banner ol li {
  float: left;
  margin-right: 24px;
  width: 10px;
  height: 10px;
  background-color: rgb(255,255,255,0.4);
  border-radius: 50%;
  cursor: pointer;
}

.banner ol .current {
  background-color: #fff;
}


.goods .hd{
  height: 114px;
  line-height: 114px;
}

.goods .hd h2 {
  float: left;
  font-size: 29px;
  font-weight: 400;
  height: 114px;
}

.goods .hd h2 span {
  margin-left: 34px;
   font-size: 16px;
   color: #999;
}

.goods .hd a,
.fresh_hd .more {
  float: right;
  font-size: 16px;
  color: rgb(173, 172, 172);
  
}

.goods .hd a:hover,
.fresh_hd .more:hover {
  color: #999;
}

.goods .hd a::after,
.fresh_hd .more::after{
  display: inline-block;
  content: '';
  margin-left: 13px;
  width: 7px;
  height: 13px;
  background-image: url(../images/sprites.png);
  background-position: 0 -110px;
  vertical-align: middle;
}

.goods .bd li  {
  position: relative;
  float: left;
  margin-right: 8px;
  width: 304px;
  height: 405px;
  background-color: #f0f9f4;
  text-align: center;
}

.goods .bd ul li:last-child {
  margin-right: 0;
}

.goods .bd li img {
  height: 304px;
}

.goods .bd li h3 {
  margin-top: 20px;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 400;
}

.goods .bd li div,
.price {
  color: #9a2e1f;
  font-size: 17px;
}

.goods .bd li div span {
  font-size: 23px;

}

.goods .bd li b {
  position: absolute;
  top: 18px;
  left: 17px;
  width: 28px;
  height: 51px;
  border: 3px solid #27ba9b;
  border-radius: 3px;
  font-size: 18px;
  color: #27ba9b;
  font-weight: 400;
  line-height: 23px;
}

.goods .bd li:hover,
.pupular .bd1 li:hover,
.bg_bd ul li a:hover,
.fresh_bd .product:hover{
  box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.3);
}

/* 人气推荐 */

.pupular .hd1{
  height: 116px;
  line-height: 116px;
}

.pupular .hd1 h2 {
  font-size: 29px;
  font-weight: 400;
}
.pupular .hd1 h2 span {
  font-size: 16px;
  margin-left:34px ;
  color: #999;
}

.pupular .bd1 ul li {
  display: block;
  float: left;
  height: 430px;
  width: 304px;
  margin-right: 8px;
  margin-bottom: 35px;
  background-color: #f0f9f6;
}

.pupular .bd1 ul li:last-child {
  margin-right: 0;
}

.pupular .bd1 ul li img {
  width: 304px;
}

.pupular .bd1 ul li div {
  text-align: center;
} 

.pupular .bd1 ul li div h3 {
  margin-top: 20px;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 400;
}

.pupular .bd1 ul li div p {
  font-size: 14px;
  color: #999;
}



/* 热门品牌 */
.brand_goods {
  position: relative;
  height: 466px;
  background-color: #f5f5f5;
}

.bg_hd {
  position: relative;
  height: 116px;
  line-height: 116px;

 
}

.bg_hd h2 {
  display: inline-block;
  float: left;
  font-size: 29px;
  font-weight: 400;
  height: 116px;
  line-height: 116px;
}

.bg_hd span {
  font-size: 16px;
  margin-left: 34px;
  color: #999;
}

.bg_hd div {
  position: absolute;
  width: 50px;
  height: 20px;
  right: 2px;
  bottom: 18px;
}

.bg_hd div a {
  display: block;
  float: left;
  height: 20px;
  width: 20px;
  font-size: 20px;
  text-align: center;
  line-height: 20px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.1);
}

.bg_hd div a:nth-child(2) {
  float: right;
}

.bg_hd div a:hover {
  background-color: #27ba9b;
}

.bg_bd ul li a {
  display: block;
  float: left;
  height: 308px;
  width: 243px;
  margin-right: 5px;
  background-color: #27ba9b;
}

.bg_bd ul li:last-child {
  margin-right: 0;
}

.bg_bd ul li a img {
  width: 243px;
}



  /* 生鲜 */
.fresh_hd {
  height: 96px;
  line-height: 96px;
}

.fresh_hd h2 {
  float: left;
  font-size: 29px;
  font-weight: 400;
  height: 96px;
}

.more {
  float: right;
}

.fresh_hd ul{
  float: right;
  margin-right: 65px;
}

.fresh_hd ul li {
  float: left;
}

.fresh_hd ul li a {
  padding: 2px 7px;
  margin-left: 6px;
}

.fresh_hd ul li a:hover {
  background-color: #27ba9b;
  color: #fff;
}

.fresh_bd .left {
  float: left;
  width: 240px;
  height: 610px;
  background-color: #9a2e1f;
}
.fresh_bd .right {
  float: left;
  width: 1000px;
  height: 610px;
}

.fresh_bd .product {
  position: relative;
  float: left;
  width: 242px;
  height: 305px;
  margin-left: 8px;
}

.fresh_bd .product img {
  height: 204px;
  display: block;
  margin: 0 auto;
}

.fresh_bd .product .biaoti {
  margin-left: 28px;
  font-size: 15px;
  
}
